package service;

import java.util.List;

import dto.AdSpaceDto;
import pojo.Advertisement;
import pojo.Merchant;

public interface AdvertisementService {
	public List<Advertisement> findAll(String mId);
	
	public Advertisement update(String id,String status,String mId);
	
	public Advertisement save(Advertisement ad,String mId);

	public String sendJms(Advertisement ad,Merchant merchant, String date, String time);

	public List<Advertisement> findByStatus(String mId,String status);
	
	public Advertisement findById(String id);
}
